package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 病历主模型
 * 
 * @MedicalRecords
 * @病历(medical_records)
 * @version : Ver 1.0
 */
@TableName("medical_records")
public class MedicalRecords implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = -8385012421590906811L;

    /**
     * @备注:病历id
     * @字段:id BIGINT(19)
     */
    @TableId(type = IdType.AUTO)
    private java.lang.Long    id;

    private Date              gmtCreate;

    private Date              gmtModified;

    private String            userId;

    private Integer           cancerTypeId;

    /**
     * @备注:患者名称
     * @字段:name VARCHAR(11)
     */
    private java.lang.String  name;

    /**
     * @备注:身份证
     * @字段:id_card VARCHAR(18)
     */
    private java.lang.String  idCard;

    /**
     * @备注:地址
     * @字段:address TEXT(65535)
     */
    private java.lang.String  address;

    /**
     * @备注:性别
     * @字段:sex ENUM(2)
     */
    private java.lang.String  sex;

    /**
     * @备注:年龄
     * @字段:age INT(10)
     */
    private java.lang.Integer age;

    /**
     * @备注:身高
     * @字段:height VARCHAR(4)
     */
    private java.lang.String  height;

    /**
     * @备注:体重
     * @字段:weight VARCHAR(4)
     */
    private java.lang.String  weight;

    /**
     * @备注:确诊日期
     * @字段:treatment_time DATETIME(19)
     */
    private String            treatmentDate;

    /**
     * @备注:主治医院(医院地址和名称之间用逗号分隔)
     * @字段:treatment_address VARCHAR(100)
     */
    private java.lang.String  treatmentHospital;

    private String            treatmentDoctor;

    /**
     * @备注:分区确认
     * @字段:staging VARCHAR(11)
     */
    private java.lang.String  staging;

    private Integer           status;

    public MedicalRecords() {
    }

    public java.lang.Long getId() {
        return id;
    }

    public void setId(java.lang.Long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getCancerTypeId() {
        return cancerTypeId;
    }

    public void setCancerTypeId(Integer cancerTypeId) {
        this.cancerTypeId = cancerTypeId;
    }

    public java.lang.String getName() {
        return name;
    }

    public void setName(java.lang.String name) {
        this.name = name;
    }

    public java.lang.String getIdCard() {
        return idCard;
    }

    public void setIdCard(java.lang.String idCard) {
        this.idCard = idCard;
    }

    public java.lang.String getAddress() {
        return address;
    }

    public void setAddress(java.lang.String address) {
        this.address = address;
    }

    public java.lang.String getSex() {
        return sex;
    }

    public void setSex(java.lang.String sex) {
        this.sex = sex;
    }

    public java.lang.Integer getAge() {
        return age;
    }

    public void setAge(java.lang.Integer age) {
        this.age = age;
    }

    public java.lang.String getHeight() {
        return height;
    }

    public void setHeight(java.lang.String height) {
        this.height = height;
    }

    public java.lang.String getWeight() {
        return weight;
    }

    public void setWeight(java.lang.String weight) {
        this.weight = weight;
    }

    public String getTreatmentDate() {
        return treatmentDate;
    }

    public void setTreatmentDate(String treatmentDate) {
        this.treatmentDate = treatmentDate;
    }

    public java.lang.String getTreatmentHospital() {
        return treatmentHospital;
    }

    public void setTreatmentHospital(java.lang.String treatmentHospital) {
        this.treatmentHospital = treatmentHospital;
    }

    public String getTreatmentDoctor() {
        return treatmentDoctor;
    }

    public void setTreatmentDoctor(String treatmentDoctor) {
        this.treatmentDoctor = treatmentDoctor;
    }

    public java.lang.String getStaging() {
        return staging;
    }

    public void setStaging(java.lang.String staging) {
        this.staging = staging;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
